# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=morxbtcrack
pkgver=1.0
pkgrel=4
groups=('blackarch' 'blackarch-cracker')
pkgdesc='Single Bitcoin private key cracking tool released.'
url='http://www.morxploit.com/tools/'
arch=('any')
license=('custom:unknown')
depends=('bash' 'morxkeyfmt')
source=('http://web.archive.org/web/20160905190208/http://www.morxploit.com:80/morxtools/MorXBTCrack')
#source=('http://www.morxploit.com/morxtools/MorXBTCrack')
sha512sums=('3528faee664cda4fbd2ca317c6997a97fede1e1d83fc82e4956d2098155ca7c72add40991ef48eadd3270782855a1524fc8a040e764f4c9fff796ed12814be6d')

prepare() {
  sed -i 's|-f keyfmt|-f /usr/bin/morxkeyfmt|' MorXBTCrack
}

package() {
  install -Dm 755 MorXBTCrack "$pkgdir/usr/bin/$pkgname"
}

